//
//  Api.swift
//  EasyDana
//
//  Created by mac on 2024/10/8.
//

import Foundation


enum Api: String {
    case server = "https://esd.khazana-tradelinks.com/stopped"
    case initialize = "/stopped/counted"//初始化登录
    case getSMSCode = "/stopped/vitals"//用户登录注册时获取短信验证码
    case login = "/stopped/openly"//用户登录或者注册
    case home = "/stopped/belles"//首页接口
    case uploadLocation = "/stopped/hastings"//上报位置信息
    case uploadDeviceInfo = "/stopped/punch"//上报设备信息
    case preorder = "/stopped/gallant" //准入接口
    case detail = "/stopped/spices"//产品详情
    case createOrder = "/stopped/royally"//下单接口
    case getUserCardInfo = "/stopped/fortified"//获取用户身份证件信息
    case uploadIDCard = "/stopped/mulled"//上传身份证正反面
    case saveUserIDCard = "/stopped/curries"//保存用户身份信息
    case getCities = "/stopped/la"//获取城市列表
    case getUserBasicInfo = "/stopped/fed" //获取用户基本信息
    case saveUserBasicInfo = "/stopped/strengthening" //保存用户基本信息
    case getJobInfo = "/stopped/required"//获取job信息
    case saveJobInfo = "/stopped/putrid"//保存工作信息
    case getContacts = "/stopped/cape"//获取联系人信息
    case saveContacts = "/stopped/rounded"//保存联系人信息
    case getCardInfo = "/stopped/madeira"//获取绑卡信息
    case saveCardInfo = "/stopped/britishly"//提交绑卡信息
    case getOrders = "/stopped/felicitate"//获取订单列表
    case getMineConfig = "/stopped/th"//获取个人中心菜单
    case logout = "/stopped/lettres"//登出
    case cancel = "/stopped/minuet"//注销用户
    case uploadContacts = "/stopped/swords"//上报通讯录
    case uploadGoogleMarket = "/stopped/theatre" //上报googlemarket
    case uploadRiskPoint = "/stopped/congratulations"//上报风控点
    case getVoiceCode = "/stopped/stap"//获取语音验证码
    static func +(left: Api, right: Api) -> String {
        return left.rawValue + right.rawValue
    }
}

